﻿using System;

namespace ComputedTable.Version10
{
    public class TableEventArgs<TRowId, TColumnId, TOperationContext> : EventArgs where TOperationContext : IOperationContext<TRowId, TColumnId>
    {
        public TOperationContext OperationContext { get; private set; }

        public bool CanContinue { get; set; }

        public TableEventArgs(TOperationContext operationContext)
        {
            this.OperationContext = operationContext;
            this.CanContinue = true;
        }
    }
}
